package cn.wp.ewallet.wallet.model.entity;

import cn.wp.common.core.dao.annotation.Column;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 自动归集记录实体
 * Created by zhangyongli on 2020/2/4
 */
@Data
public class TransAccountLogDoo implements Serializable {


    /**
     * 转账出方(发起转账方)的手机号
     */
    @Column("user_tel")
    private String userTel;
    //     转账记录唯一标识
    @Column("LOG_ID")
    private String logId;
    //     转出地址
    @Column("ADDRESS_FROM")
    private String addressFrom;
    @Column("ADDRESS_TO")
    private String addressTo;
    @Column("TRANS_TIME")
    private Date transTime;
    @Column("TRANS_AMOUNT")  //转账数量
    private BigDecimal transAmount;
    @Column("SERVICE_CHARGE")
    private BigDecimal serviceCharge;
    //    手续费之和 ,转出人账户 = 原账户 -（转出数量+手续费）,转入人账户=原账户+转出数量
    @Column("TOTAL_AMOUNT")
    private BigDecimal totalAmount;
    //    1000-转账成功  2000-转账失败
    @Column("OPER_RESULT")
    private String operResult;
    @Column("OPER_USER")
    private String operUser;
    @Column("REMARK")
    private String remark;

    @Column("MONEY_TYPE_ID")
    private String moneyTypeId;

    @Column("TH_ID")
    private String thId;

    /***币种编码***/
    @Column("MONEY_TYPE_CODE")
    private String moneyTypeCode;

    /***币种单位***/
    @Column("MONEY_TYPE_UNIT")
    private String moneyTypeUnit;

}
